<div th:fragment="frag(object)">
	<ul class="dropdown-menu btn-info" th:attrappend="class=${object.status == 0 ? ' bg-yellow' : ' bg-aqua'}" role="menu"
		style="border-color: snow">
		<li>
			<a th:data-object-delete="${object.id}" style="color:red" class="fa fa-minus-circle" th:text="${' 删除'}"/>
		</li>
		<li class="disabled">
			<a><span class="text-gray" th:text="${' 应用：'}"></span></a>
		</li>
		<li class="dropdown bigdropdown" th:each="app : ${object.data.get('apps')}">
			<a data-toggle="dropdown" role="button" style="color:snow">
			    <span class="fa fa-futbol-o" th:text="${' ' + app.name}"></span>
			    <span class="fa fa-caret-right pull-right"></span>
			    <span class="sr-only"></span>
		    </a>
		    <ul class="dropdown-menu btn-info" style="border-color: snow">
		    	<li>
		    		<a th:data-app-id="${app.id}" th:data-app-type="${app.type}" th:data-app-url="${app.template}" 
		    			style="color:snow" class="fa fa-binoculars" th:text="${' 预览'}"/>
					<a th:data-app-id="${app.id}" th:data-app-type="${app.type}" th:data-app-url="${app.template}"
					   data-app-copy style="color:snow" class="fa fa-clone" th:text="${' 拷贝'}"/>
					<a th:data-app-id="${app.id}" style="color:snow" class="fa fa-clone" th:text="${' 创建leditor'}"
					   data-app-create-leditor th:if="${app.type} == 'crud'"/>
					<a th:data-app-id="${app.id}" data-app-tabtype='appView.create' style="color:snow" class="fa fa-navicon" th:text="${' 创建菜单'}"/>
					<a th:data-app-delete="${app.id}" th:data-app-type="${app.type}" style="color:red" class="fa fa-minus-circle" th:text="${' 删除'}"/>
				</li>
		    </ul>
		</li>
		
	</ul>
</div>